SetMenuItemRefCon2
NEW WITH THE APPEARANCE MANAGER
Sets additional application-specific information for a menu item.
pascal OSErr SetMenuItemRefCon2 ( MenuHandle inMenu, SInt16 inItem, SInt32 inRefCon);
inMenu
- The handle to the menu structure of the menu item for which you wish to set information.
inItem
- An integer representing the item number of the menu item for which you wish to set information.
inRefCon
- An integer representing a reference constant with which you wish to set information.
- function result
- A result code; see "Result Codes".
DISCUSSION
If you have data you want to associate with a menu item in addition to that set with theSetMenuItemRefCon
function, you can do so using theSetMenuItemRefCon2
function.SEE ALSO
"Appearance Manager Gestalt Selector Constants".